package com.kfm.ssm.service.impl;

import com.kfm.ssm.domain.Role;
import com.kfm.ssm.mapper.RoleMapper;
import com.kfm.ssm.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper mapper;
    @Override
    public List<Role> findAll() {
        return mapper.selectAll();
    }
}
